
const fs = require('fs');
const path = require('path');

const express = require('express')
const app = express()

// const publicPath = path.join(__dirname, './public/')
// app.use('/public', express.static(publicPath))  

const publicPath = path.join(__dirname, './public/尚品汇')
app.use(express.static(publicPath))

app.get('/', (req, res) => {
    res.send('<h2>我我</h2>')
})


app.listen(3000, () => {
    console.log('Server is running at http://localhost:3000')
})